﻿$(function(){
	let addBtn = $("#add");
	addBtn.on("click",function(){
		$("#userForm").submit();
	});

	let backBtn = $("#back")
	backBtn.on("click",function(){
		//alert("modify: "+referer);
		if(referer != undefined
			&& null != referer
			&& "" != referer
			&& "null" != referer
			&& referer.length > 4){
			window.location.href = referer;
		}else{
			history.back(-1);
		}
	});
})